package com.ls.controller.booking.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @ClassName ListBookingVo
 * @Description 预定列表在app上显示的vo
 * @Author pengyu
 * @Date 2024/7/25 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ListBookingVo {
    /**id*/
    private Long linkmanId;
    /**
     * 联系人名称
     */
    private String linkmanName;
    /**
     * 联系人手机号
     */
    private String linkmanPhone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**员工名称*/
    private String staffName;
    /**预定id*/
    private Long bookingId;
    /**预约内容*/
    private String content;
    /**预定状态 1已预定，2已修改，3已到店，4已完成，5已取消，6备注,7预定已经发送短信，8修改已发送短信*/
    private Integer bookingStatus;
    /**是否保存 0否 1是*/
    private Integer isSaved;
}
